package entities;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "Devices")
public class DeviceNC {
	@Id
	private String uuid;
	private String name;
	private String ip;
	private String type;
	
	public DeviceNC(){
		
	}
	@Override
	public String toString() {
		String s = "Device Name: " + name + "\n";
		s += "Device Type: " + type + "\n"; 
		s += "IP Address: " + ip + "\n";
		s += "UUID Address: " + uuid + "\n";

		return s;
	}
	
	
	
	public String getUuid() {
		return uuid;
	}
	public String getName() {
		return name;
	}
	public String getIp() {
		return ip;
	}
	public String getType() {
		return type;
	}
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public void setType(String type) {
		this.type = type;
	}
}
